/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.component.data.repository.tdengine.entity;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <b>(TimeStampEntityEnable)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/8/1
 */
public interface TimeStampEntityEnable extends Serializable {
    /**
     * 获取时间戳
     *
     * @return 当前时间戳
     */
    Timestamp getTs();

    /**
     * 设置时间戳
     *
     * @param timeStamp 当前时间戳
     */
    void setTs(Timestamp timeStamp);
}